<!-- 车展基金 -->
<?php
  $xunFieldList = array(
    'fixedMoney'=>'双月额度',
    'orderTarget' => '订单目标',
    'capitalTarget' => '留资目标',
    'budgetApplyTotal'=>'预算申请金额',
    'budgetAuditTotal'=>'预算审核金额',
    'orderActual' => '订单实际达成',
    'capitalActual' => '留资实际达成',
    'orderReachRate' => '订单目标达成率',
    'capitalReachRate' => '留资目标达成率',
    'settleApplyTotal'=>'结算申请金额',
    'settleAuditTotal'=>'结算审核金额',
  );
?>
<table class="table table-bordered table-condensed mb27">
    <thead class="text-center">
      <tr>
        <th class="bg-primary text-center" width="12.5%">基金类型</th>
        <th class="bg-primary text-center" width="15%">费用流程</th>
        <?php foreach ($timeUnitList as $key => $value) { ?>
        <th class="bg-primary text-center" width="12%"><?php echo $value; ?></th>
        <?php } ?>
      </tr>
    </thead>
    <tbody>
      <?php
      $i = 0;
      foreach ($xunFieldList as $filedKey => $filedName) {
      ?>
      <tr>
        <?php if($i==0){?><td class="text-center" rowspan="<?=count($xunFieldList)?>"><h4>巡展基金</h4></td><?php }?>
        <td class="text-center"><?php echo $filedName;?></td>

        <?php foreach ($timeUnitList as $timeK => $timeV) { ?>
        <td class="text-center"><?php
        if (isset($xunProcList[$timeK][$filedKey])) {
          //未评分显示文字
          if ($filedKey == 'score') {
            if ((float)$xunProcList[$timeK][$filedKey] == 0) {
              echo '未评分';
            }else{
              echo $xunProcList[$timeK][$filedKey];  
            }
          }else{
            echo $xunProcList[$timeK][$filedKey];
          }
        }
        ?></td>
        <?php
        $i ++;
        } ?>
      </tr>
      <?php }?>
    </tbody>
  </table>